package com.cloudbroker.bcs.platform.dav.bizapi.t2service.business;

import com.cloudbroker.bcs.common.entity.HSBCPSBackVO;
import com.cloudbroker.bcs.platform.dav.bizapi.constants.IFSFunctionIdsNew.IFSCommentStockFuncIds;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.HSBCPSVO;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.hsopen.result.OpenTokenBackForm;
import com.hundsun.jresplus.remoting.impl.annotation.Service;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceModule;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceParam;

/**
 * Created by xuyn15828 on 2016/3/30.
 */
@ServiceModule
public interface HsOpenT2BizService {

    /**
     * 获取恒生开放平台AccessToken
     * */
    @Service(functionId = IFSCommentStockFuncIds.FUNC_HS_OPEN_TOKEN , desc = "获取恒生开放平台AccessToken")
    public OpenTokenBackForm funcGetHsOpenToken(@ServiceParam("param") HSBCPSVO param);

    /**
     * 调用股票更新任务
     * */
    @Service(functionId = IFSCommentStockFuncIds.FUNC_EXEC_STOCK_UPDATE_TASK , desc = "调用股票更新任务")
    public HSBCPSBackVO funcStockUploadTask(@ServiceParam("param") HSBCPSVO param);
}
